import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'

import {
  Tabbar, TabbarItem, Button, Icon, Swipe, SwipeItem, Image as VanImage, Search,
  Grid, GridItem, Tab, Tabs
} from 'vant'
import 'vant/lib/index.css'

Vue.use(Tabbar).use(TabbarItem)
Vue.use(Button).use(Icon)
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(VanImage);
Vue.use(Search);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Tab);
Vue.use(Tabs);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
